package thinkingJava.chapter11;

import java.util.Collections;
import java.util.LinkedList;
import java.util.Collection;

public class ForEachCollections {
	public static void main(String[] args) {
		Collection<String> c = new LinkedList<String>();
		Collections.addAll(c, "Take the long way home".split(" "));
		for (String s : c) {
			System.out.print("'" + s + "'    ");
		}
	}
}
